package com.aviatorscript.avitorscriptmust.pojo;

import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

@Data
@Accessors(chain = true)
public class CreateOrderDTO{
    private String orderId;
    private String tmsClient;
    private String customerId;
    private List<Box> cartList;

    @Data
    public static class Box{
        private String boxNo;
        private List<Item> itemList;
    }

    @Data
    public static class Item{
        private String itemId;
        private String itemName;
        private BigDecimal itemPrice;
    }
}
